package com.aidex.system.service;

import com.aidex.common.core.domain.entity.SysPost;
import com.aidex.common.core.service.BasicService;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;

import java.util.List;

public interface SysPostService extends BasicService<SysPost> {

    List<SysPost> selectListByUser(QueryWrapper<SysPost> wrapper);

    void checkPostNameUnique(SysPost post);

    void checkPostCodeUnique(SysPost post);

    int findMaxSort();

}
